package com.efast.dmom.mes.service;


import java.util.List;

import com.efast.dmom.mes.bean.Bom;
import com.efast.dmom.mes.bean.BomTree;
import com.efast.dmom.mes.bean.ResultBean;

public interface BomService{
	public Bom getBomByNameAndRevision(String bomName,String bomRevision);

	public ResultBean save(Bom bom);

	public ResultBean update(Bom bom);

	public ResultBean delete(Bom bom);

	public Bom getById(long id);

	Bom getByName(String name);

	public List<Bom> getAllBom();

	public BomTree getAllBomByCondition(Bom bom,int start,int length);
	public BomTree getAllBomByCondition(Bom bom);
}
